package com.ruoyi.business.service.impl;

import com.ruoyi.business.dto.PeopleDto;
import com.ruoyi.business.service.CustomizeAnnotationService;
import org.springframework.stereotype.Service;

/**
 * @author Wu Yuwei
 * @Description: 自定义注解
 * @date 2023/1/4 12:24
 */
@Service
public class CustomizeAnnotationServiceImpl implements CustomizeAnnotationService {

    @Override
    public PeopleDto queryPeopleById(String id) {
        PeopleDto peopleDto = new PeopleDto();
        peopleDto.setId(1);
        peopleDto.setName("张三");
        peopleDto.setEmail("782006656@qq.com");
        peopleDto.setPhone("13560664666");

        return peopleDto;
    }
}
